<?
require("connectDB.php");

mysql_query("DELETE FROM subject WHERE subject='$type'");

mysql_close($con);

?>

<meta http-equiv ="refresh" content="0;url=manageSubject.php">